
package com.zhw.mybatis.entity;

import java.io.Serializable;
import java.math.BigDecimal;

public class Goods implements Serializable {

  private Integer id;

  private String goodName;

  private BigDecimal goodPrice;

  private Integer addTime;

  private String goodInfo;

  public Goods(){

  }

  public Goods(Integer id, String goodName, BigDecimal goodPrice, Integer addTime, String goodInfo) {
    this.id = id;
    this.goodName = goodName;
    this.goodPrice = goodPrice;
    this.addTime = addTime;
    this.goodInfo = goodInfo;
  }

  public Goods(String goodName, BigDecimal goodPrice, Integer addTime, String goodInfo) {
    this.goodName = goodName;
    this.goodPrice = goodPrice;
    this.addTime = addTime;
    this.goodInfo = goodInfo;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getGoodName() {
    return goodName;
  }

  public void setGoodName(String goodName) {
    this.goodName = goodName;
  }

  public BigDecimal getGoodPrice() {
    return goodPrice;
  }

  public void setGoodPrice(BigDecimal goodPrice) {
    this.goodPrice = goodPrice;
  }

  public Integer getAddTime() {
    return addTime;
  }

  public void setAddTime(Integer addTime) {
    this.addTime = addTime;
  }

  public String getGoodInfo() {
    return goodInfo;
  }

  public void setGoodInfo(String goodInfo) {
    this.goodInfo = goodInfo;
  }

  @Override
  public String toString() {
    return "Goods{" +
      "id=" + id +
      ", goodName='" + goodName + '\'' +
      ", goodPrice=" + goodPrice +
      ", addTime=" + addTime +
      ", goodInfo='" + goodInfo + '\'' +
      '}';
  }

}
